package com.googlecode.caurina.transitions
{
	public class CustomTweener extends Tweener
	{
		public function CustomTweener()
		{
			super();
		}
		override public static function onEnterFrame(e:Event = null):void {
			updateTime();
			updateFrame();
			var hasUpdated:Boolean = false;
			hasUpdated = updateTweens();
			if (!hasUpdated) stopEngine();	// There's no tweening to update or wait, so it's better to stop the engine
		}
	}
}